<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>没有权限</title>
    <style type="text/css">
        a:visited,a:active {
            color: #ffb67b;
            font-size: 20px;
        }
        a:link{
            color: #a3dae4;
            font-size: 20px;
        }
        a:hover{
            color: #e46a92;
            font-size: 25px;
        }
    </style>
</head>
<body>
<div th:if="${session.login == null}">
    <p style="font-size:30px" align="center">请先登录</p>
    <div align="center"><a  align="center" th:href="@{/manager/showlogin}">前往登录</a></div>
</div>
<div th:if="${session.login != null}">
    <p style="font-size:30px" align="center" th:text="${session.login.username+',请从首页访问'}"></p>
    <div align="center"><a  align="center" th:href="@{/manager/showindex}">前往首页</a></div>
</div>
</body>
</html>